import pygame

pygame.init()
WHITE = (255, 255, 255)
screen = pygame.display.set_mode((450,800), 0, 32)
plane = pygame.image.load('plane.png')


while True:
    for event in pygame.event.get():
        if event.type == pygame.QUIT:
            pygame.quit()
            exit()
    
    x, y = pygame.mouse.get_pos()
    x -= plane.get_width()/2
    y -= plane.get_height()/2
    screen.fill(WHITE)
    screen.blit(plane, (x, y))

    pygame.display.update()